﻿   

using System;
using System.Threading.Tasks;
using System.Linq.Expressions;
 
using Oliving.Edge.IServices.BASE;
using Oliving.Edge.Model;
using Oliving.Edge.Model.Dto.XLT;
using Oliving.Edge.Model.Models.XLT;

namespace Oliving.Edge.IServices.XLT
{	
	/// <summary>
	/// IBase_EquipmentCategoryServices , 设备类型表
	/// </summary>	
    public interface IBase_EquipmentCategoryServices :IBaseServices<Base_EquipmentCategory>
	{
   

            /// <summary>
            /// 自定义分页查询
            /// </summary>
            /// <param name="whereExpression" > 查询条件</param>
            /// <param name="pageIndex" > 页码</param>
            /// <param name="pageSize" > 页大小</param>
            /// <param name="sortField" > 排序字段</param>
            /// <param name="sortOrder" > 排序 （asc/desc）</param>
            /// <returns></returns>
            Task < PageModel<Base_EquipmentCategoryPageDto>> QueryPageList(
            Expression<Func<Base_EquipmentCategory, bool>> whereExpression,
            int PageIndex = 1,
            int PageSize = 20,
            string sortField = null,
            string sortOrder = null);

            
       
    }
}
                 
